package com.smartleanx.module.hrm.dal.dataobject.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author mybatis-plus
 * @since 2024-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hrm_salary_taxation_rule_tenant")
public class HrmSalaryTaxationRuleTenant extends Model<HrmSalaryTaxationRuleTenant> {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    /**
     * 1、上年12月到今年11月(对应的工资发放方式为次月发上月工资)	2、今年1月到12月(对应的工资发放方式为当月发当月工资)
     */
    private Integer business;

    /**
     * 0否1是
     */
    private Integer isTaxation;

    /**
     * 起征点
     */
    private BigDecimal startingPoint;

    /**
     * 保留几位小数的id
     */
    private Integer roundUpId;

    /**
     * 1、工资薪金所得税
     */
    private Integer taxationType;


      private String tenantId;

}
